package com.vf.activity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vf.common.annotation.Excel;
import com.vf.common.core.domain.BaseEntity;

/**
 * 活动照片对象 activity_photos
 * 
 * @author LBS
 * @date 2025-06-04
 */
public class ActivityPhotos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 照片ID */
    private Long photoId;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long activityId;

    /** 照片地址 */
    @Excel(name = "照片地址")
    private String photoUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Long uploadedBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadedAt;

    public void setPhotoId(Long photoId) 
    {
        this.photoId = photoId;
    }

    public Long getPhotoId() 
    {
        return photoId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setUploadedBy(Long uploadedBy) 
    {
        this.uploadedBy = uploadedBy;
    }

    public Long getUploadedBy() 
    {
        return uploadedBy;
    }
    public void setUploadedAt(Date uploadedAt) 
    {
        this.uploadedAt = uploadedAt;
    }

    public Date getUploadedAt() 
    {
        return uploadedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("photoId", getPhotoId())
            .append("activityId", getActivityId())
            .append("photoUrl", getPhotoUrl())
            .append("uploadedBy", getUploadedBy())
            .append("uploadedAt", getUploadedAt())
            .toString();
    }
}
